package ru.ifmo.lab3;

import java.io.IOException;

public class Main {

    public static void main(String[] args) {
        try {
            CockroachScheduler scheduler = new CockroachScheduler(args[0]);
            scheduler.printGraph();
            scheduler.startRace();
        }
        catch (IOException | IndexOutOfBoundsException | IllegalArgumentException e) {
            System.err.println(e);
        }
    }
}
